<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<title>Tabs</title>
	<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
	<link rel="stylesheet" type="text/css" href="./tabs-example.css" />
	<link rel="stylesheet" type="text/css" href="../examples.css" />

	<script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
	<script type="text/javascript" src="../../ext-all-debug.js"></script>
</head>
<body>
	<form id="form1" runat="server">
	</form>
	<ssfx:Scriptlet runat="server" ID="scriptlet" EnableDebugging="True" PrecompiledScriptlet="SampleScripts.tabs.TabScript">
        <References>
            <ssfx:AssemblyReference Name="sscorlib"></ssfx:AssemblyReference>
            <ssfx:AssemblyReference Name="ssfx.Core"></ssfx:AssemblyReference>
            <ssfx:AssemblyReference Name="ExtSharp"></ssfx:AssemblyReference>
            <ssfx:AssemblyReference Name="SampleScripts"></ssfx:AssemblyReference>
        </References>
	</ssfx:Scriptlet>
	<h1>
		Tab Panel Examples</h1>
	<p>
		Note that the js and css is not minified so it is readable. See <a href="tabs-example.js">
			tabs-example.js</a> for the tab creation code and <a href="tabs-example.css">tabs-example.css</a>
		for the css.</p>
	<h3>
		Tabs with auto height that resize to the content. Built from existing markup.</h3>
	<br>
	<!-- container for the existing markup tabs -->
	<div id="tabs1">
		<div id="script" class="x-hide-display">
			<p>
				Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales
				a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis,
				interdum non, sodales non, iaculis ac, lacus.<br />
				<br />
				Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus,
				sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse
				nunc sem, pretium eget, cursus a, fringilla vel, urna.</p>
		</div>
		<div id="markup" class="x-hide-display">
			<p>
				Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales
				a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis,
				interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis
				malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus.
				In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla
				vel, urna.<br />
				<br />
				Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean
				lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim
				non, ornare sed, luctus eu, massa. Vivamus eget quam. Vivamus tincidunt diam nec
				urna. Curabitur velit.</p>
		</div>
	</div>
	<br>
	<h3>
		Tabs with no tab strip and a fixed height that scroll the content. Built entirely
		with javascript.</h3>
	<ul class="list">
		<li>Tab 1 is a normal tab with content passed when adding it.</li>
		<li>Tab 2 is loaded via Ajax.</li>
		<li>Tab 3 is loaded via Ajax too. It was set up to pass parameters when loaded.</li>
		<li>Tab 4 has an event listener attached.</li>
		<li>Tab 5 is disabled.</li>
	</ul>
	<br>
	</form>
</body>
</html>
